package com.yupi.yuso.designpattern.adapter;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yupi.yuso.model.dto.search.SearchRequest;

/**
 * @author vvv
 * @date 2023-12-21 19 08
 * discription
 */
public interface DataSourceTarget<T> {

    /**
     *
     * @param searchRequest
     * @return
     */
    Page<T> doSearch(SearchRequest searchRequest);
}
